package cn.feichanghao.nutz.quickstart.auth.model;

import java.io.Serializable;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

@Table("t_app_site")
public class Site implements Serializable {

	private static final long serialVersionUID = 1333023930214630480L;
	@Column("site_id")
	@Id
	private int id;
	@Column("site_name")
	private String name;
	@Column("site_url")
	private String url;
	@Column("site_desc")
	private String desc;
	@Column("site_theme")
	private String theme;
	@Column("site_keyword")
	private String keyword;
	@Column("site_favicon")
	private String favicon;
	@Column("site_version")
	private String version;

	public Site() {}

	public Site(String name,
				String url,
				String desc,
				String theme,
				String keyword,
				String favicon,
				String version) {

		this.name = name;
		this.url = url;
		this.desc = desc;
		this.theme = theme;
		this.keyword = keyword;
		this.favicon = favicon;
		this.version = version;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getId() {
		return id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public String getTheme() {
		return theme;
	}

	public void setTheme(String theme) {
		this.theme = theme;
	}

	public String getKeyword() {
		return keyword;
	}

	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}

	public String getFavicon() {
		return favicon;
	}

	public void setFavicon(String favicon) {
		this.favicon = favicon;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}
}
